<template>
	<!-- 事件登记 -->
	<view class="event">
		<uni-steps class="step" :options="stepList" :active="active" />
	</view>
</template>

<script>
	export default {
		components: {
			
		},
		data() {
			return {
				active: 0, //默认事件
				stepList: [{
					title: '基础信息'
				}, {
					title: '风险信息'
				}, {
					title: '风险初评'
				}],
			}
		},
		methods: {
            //修改当前步骤
			editActive(value){
				this.active = value;
			}
		}
	}
</script>


<style scoped lang="scss">
	.event {
		.step {
			margin: 20rpx 0;
		}
	}
</style>